<template>
  <div class="top">
    <van-icon name="arrow-left" size="20" @click="back" />
  </div>
</template>

<script>
export default {
  props: {},
  data() {
    return {};
  },
  computed: {},
  mounted() {},
  methods: {
    back() {
      this.$router.go(-1);
    },
  },
};
</script>

<style lang="scss" scoped>
.top {
  height: 50px;
  display: flex;
  align-items: center;
  padding:0 20px;
}
</style>
